home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Information / THINK C Digest / 1991 / 91-05 < prev    next >
Text File  |  1995-12-31  |  41KB  |  1,247 lines

  1. 
  2. Path: ucivax!gateway
  3. From: fleabag@athena.mit.edu
  4. Subject: TCL & editTexts
  5. Message-ID: <9105050615.AA29440@e40-008-6.MIT.EDU>
  6. Newsgroups: fa.think-c
  7. Lines: 32
  8. Date: 5 May 91 06:16:11 GMT
  9.  
  10.  
  11. hi,
  12.  
  13. here's a TCL question from someone who's just learning
  14. its metaphor:
  15.  
  16. i'd like to mimic an effect from Performer.  To change
  17. the name of a track (from within a scrolling list of
  18. tracks), you option-click on the name.  the static
  19. text field then becomes an edit-text field.  so far,
  20. so good.
  21.  
  22. here's the hitch:  the edit-text works kind of modally.
  23. that is, while you're editing, if you click anywhere
  24. other than in the edit-text, or if you hit return,
  25. enter, or tab,  the edit-text reverts to a static-text
  26. with the new name.
  27.  
  28. so how can i create this effect, using the combination
  29. of edit-text and undo-able task?
  30.  
  31. i'm not sure if this will help, but the static text is
  32. not really a CStaticText, it's just a member of a CList
  33. maintained within a CScrollPane.
  34.  
  35.  
  36. a thousand thanks (in advance, bien sur!)
  37.  
  38. :jeff bellsey
  39.  
  40. fleabag@athena.mit.edu
  41.  
  42. 
  43. 
  44. Path: ucivax!gateway
  45. From: dmac@eagle.mit.edu ("David S. McCormick")
  46. Subject: Inside Mac 6 available
  47. Message-ID: <9105051525.AA01156@eagle.mit.edu>
  48. Newsgroups: fa.think-c
  49. Lines: 20
  50. Date: 5 May 91 15:25:32 GMT
  51.  
  52. For those who don't own ETO or are not beta testers or big time
  53. developers, Inside Mac 6 has hit at least one bookstand. If you are
  54. burning to get your 2-1/2" copy (size of IM 1-3 combined), and your
  55. local outlet doesn't yet have it, you can get it from:
  56.  
  57. Quantum Books
  58. One Kendall Square
  59. Cambridge, MA 02139
  60. 617-494-5042 (voice)
  61. 617-577-7282 (fax)
  62.  
  63. They'll ship anywhere.
  64.  
  65. Just thought aquiring minds might want to know.
  66.  
  67. Cheers,
  68. David S. McCormick
  69. MIT-EAPS Geology
  70. dmac@athena.mit.edu
  71. dmac@eagle.mit.edu
  72. 
  73. 
  74. Path: ucivax!gateway
  75. From: jerome@ee.fit.edu (Jerome Chan Yeow Heong - 57875)
  76. Subject: Programming TCL
  77. Message-ID: <9105051029.AA01919@ee.fit.edu>
  78. Newsgroups: fa.think-c
  79. Lines: 16
  80. Date: 5 May 91 19:48:53 GMT
  81.  
  82. I'm very new to TCL and OOP so please bear with these questions.
  83.  
  84.  
  85. How do I put a PICT resource on the screen?
  86.  
  87. I've tried using the IViewRes() function of CPicture but nothing
  88. really happens. Can someone give me a few lines of code to
  89. demonstrate how this should be done?
  90.  
  91. Should my CPicture object's supervisor be gDesktop or should I
  92. put it into a CWindow object?
  93.  
  94. There should be examples!( tons of them! ) in the Think C Manual!
  95.  
  96.  
  97. .Chaos
  98. 
  99. 
  100. Path: ucivax!gateway
  101. From: nick@lfcs.edinburgh.ac.uk (Nick Rothwell)
  102. Subject: Re: TCL & editTexts
  103. Message-ID: <7734.9105061022@lfcs.ed.ac.uk>
  104. Newsgroups: fa.think-c
  105. Lines: 18
  106. Date: 6 May 91 10:31:55 GMT
  107.  
  108. >i'd like to mimic an effect from Performer.
  109.  
  110. Interesting! I wanted to do exactly the same, and did so. I did the
  111. following:
  112.  
  113. Create a PopUp class as a director sub-class which disposes of itself when
  114. it becomes deactivated. Put an edit-text pane into it. That way, you can
  115. create one when you option-click, and when you click elsewhere (on another
  116. window) the pop-up window gets deactivated and promptly goes away. You can
  117. inherit and alter the dispose method or whatever to get the correct
  118. cleaning-up operation.
  119.  
  120. One problem - you can still command-drag the underlying window. This is
  121. embarassing, but no more. I haven't thought of an easy clean fix for this
  122. yet.
  123.  
  124.         Nick.
  125.  
  126. 
  127. 
  128. Path: ucivax!gateway
  129. From: ehorvath@attmail.com
  130. Subject: When the gopher isn't the gopher any more...
  131. Original-From: attmail!ehorvath (Ned Horvath )
  132. Lines: 30
  133. Date: 9 May 91 19:08:38 GMT
  134. Phone: +1 908 671 7100
  135. Message-ID: <9105091208.aa16046@ics.uci.edu>
  136. >To: internet!ics.uci.edu!think-c
  137. Content-Type: text
  138. Content-Length: 1318
  139. Newsgroups: fa.think-c
  140. Message-Version: 2
  141. EMail-Version: 2
  142. UA-Message-ID: <MAC-1.3.4A1-618034-ehorvath-408>
  143. UA-Content-ID: <MAC-1.3.4A1-618034-ehorvath-408>
  144. MTS-Message-ID: <ehorvath1291904020>
  145.  
  146. >i'd like to mimic an effect from Performer.
  147.  
  148. Nick Rothwell remarks:
  149. >I did the following:
  150.  
  151. >Create a PopUp class as a director sub-class which disposes of itself when
  152. >it becomes deactivated. Put an edit-text pane into it. That way, you can
  153. >create one when you option-click, and when you click elsewhere (on another
  154. >window) the pop-up window gets deactivated and promptly goes away. You can
  155. >inherit and alter the dispose method or whatever to get the correct
  156. >cleaning-up operation.
  157.  
  158. >One problem - you can still command-drag the underlying window. This is
  159. >embarassing, but no more. I haven't thought of an easy clean fix for this
  160. >yet.
  161.  
  162. I've had analogous problems; the root problem appears to be that while a
  163. mouseClick or other event can be used to set a new gGopher, there is nothing
  164. in the TCL analogous to the window Deactivate event, some notification to the
  165. current gGopher that it is losing the "sceptre."  Adding this notion is
  166. non-trivial, though: you really want to notify the gGopher and, recursively,
  167. itsEnclosure, back up to (but not including) the lowest common visual ancestor
  168. with the NEW gGopher.  But the gGopher is guaranteed only to be a CBureaucrat;
  169. it may not be a CPane, in which case it doesn't need notification (or does
  170. it?)
  171.  
  172. Yep, I'm confused too.
  173.  
  174. =Ned Horvath=
  175. ehorvath@attmail.com
  176. 
  177. 
  178. Path: ucivax!gateway
  179. From: cfejm@ux1.cts.eiu.edu (John Miller)
  180. Subject: Sound Manager help, please...
  181. Message-ID: <9105092148.AA16653@ux1.cts.eiu.edu>
  182. X-Mailer: ELM [version 2.3 PL0]
  183. Newsgroups: fa.think-c
  184. Lines: 21
  185. Date: 9 May 91 21:47:53 GMT
  186.  
  187.  
  188. Would someone be willing to post or to e-mail me some basic
  189. sample code which demonstrates how to use a sampled sound
  190. to play different notes?
  191.  
  192. The Sound Manager documentation unfortunately provides no clear
  193. examples, and the Sample Code notes I've looked at seem to be
  194. extremely long, obtuse, and more directed to "why you should program
  195. with MacApp" than a simple, clear, direct way to use the Sound manager.
  196.  
  197. Any help or where-to-look advice would be greatly appreciated.
  198.  
  199. Thanks,
  200.  
  201. John
  202.  
  203.  
  204.  
  205. John Miller
  206. Music Theory
  207. Eastern Illinois University
  208. 
  209. 
  210. Path: ucivax!gateway
  211. From: nagel@ics.uci.edu (Mark Nagel)
  212. Subject: ARCHIVE: Pretty C 1.43 & Floating Windows
  213. Message-ID: <29000.673836800@ics.uci.edu>
  214. Newsgroups: fa.think-c
  215. Reply-To: think-c-request@ics.uci.edu
  216. Organization: University of California, Irvine - Dept of ICS
  217. Lines: 51
  218. Date: 10 May 91 00:53:27 GMT
  219. Phone: (714) 856-5039
  220.  
  221.     [NOTE: I've modified the layout of the archive area slightly.
  222.      All files from Symantec are now stored in think-c/symantec.
  223.      Other (3rd party) compiler enhancements are still in
  224.      think-c/compiler.  I will be adding the 4.05 updater as soon
  225.      as I receive an uncorrupted version from Rich.  Some mailer
  226.      ate the one he sent me a few days ago. -- Mark]
  227.  
  228. /*****************************************************************************/
  229.  
  230. From: jeremyr@dcs.qmw.ac.uk (Jeremy Roussak)
  231. Subject: Pretty C 1.43 (part 1 of 4)
  232. Date: Tue, 7 May 91 13:01:27 GMT
  233.  
  234. [Pretty C 1.43 - part 1 of 4]
  235.  
  236. Here is version 1.43 of PrettyC, a utility for C programmers.  PrettyC
  237. prints C source code and makes it look nice, avoiding splitting
  238. functions across pages where possible, printing comments and code in
  239. different, selectable fonts and sizes, emboldening and/or italicizing
  240. keywords and comments, etc.  It accepts multiple source files as
  241. input and prints an index at the end of the listing: the index gives
  242. function, files, page number and type.  An option to print just the
  243. index is available.  A PreScan option scans the selected files and
  244. lets the user select as many files and/or functions as s/he wishes
  245. for printing.
  246.  
  247. Changes from v1.04: several bug fixes.  Added user-specified margins,
  248. load & save sets of parameters.  Better pagination, improved font size
  249. handling, support for THINK C classes & methods, etc, etc.
  250.  
  251. Also included is an INIT called Pretty thoughts which makes THINK C
  252. call PrettyC when its Print... command is chosen from the File menu.
  253.  
  254. Shareware.
  255.  
  256. Jeremy Roussak (jeremyr@dcs.qmw.ac.uk)
  257.  
  258. [Saved as: /mac/think-c/compiler/prettyc-143.hqx; 184K]
  259.  
  260. /*****************************************************************************/
  261.  
  262. Date: Tue, 16 Apr 91 08:26:32 -0400
  263. From: spencer@cgrg.ohio-state.edu (Stephen N. Spencer)
  264. Subject: Floating Windows Code!
  265.  
  266. This self-extracting Compactor archive contains a THINK C v4.0
  267. project which implements floating windows.  It was written by
  268. Patrick Doane and downloaded from GEnie.  The author's address
  269. on GEnie is R.DOANE.  Enjoy.
  270.  
  271. [Saved as: /mac/think-c/code/floating-windows.hqx; 37K]
  272. 
  273. 
  274. Path: ucivax!gateway
  275. From: nick@lfcs.edinburgh.ac.uk (Nick Rothwell)
  276. Subject: Re: When the gopher isn't the gopher any more...
  277. Message-ID: <24813.9105101104@lfcs.ed.ac.uk>
  278. Newsgroups: fa.think-c
  279. Lines: 18
  280. Date: 10 May 91 11:31:14 GMT
  281.  
  282. >>One problem - you can still command-drag the underlying window. This is
  283. >>embarassing, but no more. I haven't thought of an easy clean fix for this
  284. >>yet.
  285. >
  286. >I've had analogous problems; the root problem appears to be that while a
  287. >mouseClick or other event can be used to set a new gGopher, there is
  288. nothing
  289. >in the TCL analogous to the window Deactivate event,
  290.  
  291. The command/drag problem is different, I think. I may be wrong, but
  292. command-drag on a lower window's title bar doesn't change the window order
  293. and I'm not even sure the click event gets as far as the application. My
  294. popup windows are sitting above the main window, and if the main window is
  295. command-dragged to another location the pop-ups don't find out about it and
  296. are left behind.
  297.  
  298.         Nick.
  299.  
  300. 
  301. 
  302. Path: ucivax!gateway
  303. From: nagel@ics.uci.edu (Mark Nagel)
  304. Subject: ARCHIVE: THINK C 4.05 Updater
  305. Message-ID: <5057.673893705@ics.uci.edu>
  306. Newsgroups: fa.think-c
  307. Reply-To: think-c-request@ics.uci.edu
  308. Organization: University of California, Irvine - Dept of ICS
  309. Lines: 85
  310. Date: 10 May 91 16:41:53 GMT
  311. Phone: (714) 856-5039
  312.  
  313.  
  314. Date:    Mon, 06 May 91 15:44:05 EDT
  315. From:    Rich Siegel <siegel@world.std.COM>
  316. Subject: THINK C 4.0.5 Updater
  317.  
  318.  
  319. THINK C 4.0.5 ONLINE UPDATE
  320. ============================
  321. Copyright ) 1990 Symantec Corporation. All rights reserved.
  322. 4/4/91
  323.  
  324. INTRODUCTION
  325. ============
  326. This update package updates and fixes several parts of THINK C 4.0.
  327. It is identical to the THINK C 4.0.2 update released in April of 1990.
  328. The main difference are:
  329.  
  330.     % THINK C 4.0.5 is 90% compatible with System 7.0
  331.     % A minor documentation bug has been corrected
  332.  
  333. If you've already applied the updates from 4.0.2, you'll only need to
  334. use the THINK C 4.0.5 update.
  335.  
  336. While it is a good idea to apply all the updates, you can apply only
  337. the ones that affect the way you work with THINK C. For instance, if
  338. you don't use the THINK Class Library, you don't need to apply the
  339. TCL updates.
  340.  
  341. Each of the updates is in its own folder. The list below describes
  342. what each update is for and who should update.
  343.  
  344.  
  345. WHAT'S IN THE UPDATE PACKAGE?
  346. =============================
  347. The update package is made up of six folders. Each folder contains
  348. a documentation file that tells you how to apply the update. The
  349. documentation file also describes in more detail what the update
  350. is for.
  351.  
  352. THINK C 4.0.5 Update (NEW FOR 4.0.5)
  353. ------------------------------------
  354. %    All THINK C users should update.
  355. This update transforms your existing THINK C 4.0 application
  356. to THINK C 4.0.5. This update includes all the fixes from THINK C
  357. 4.0.2 and lets THINK C run with System 7.0. This update includes
  358. a new version of the THINK C Debugger.
  359.  
  360.     NOTE:    THINK C 4.0.5 is 90% compatible
  361.             with System 7.0. It will NOT work
  362.             with Virtual Memory or in 32-bit mode.
  363.  
  364.  
  365. Documentation Update (NEW FOR 4.0.5)
  366. --------------------
  367. %    All THINK C users should read this update.
  368. This document describes some errors, typos, and omissions from
  369. the THINK C 4.0 documentation.
  370.  
  371. Color.h Update
  372. --------------
  373. %    All THINK C users should update.
  374. This update contains a replacement Color.h file.
  375.  
  376.  
  377. TCL Update
  378. ----------
  379. %    All TCL users should update.
  380. This update fixes some bugs in the THINK Class Library.
  381.  
  382.  
  383. TCL Demo Update
  384. ---------------
  385. %    Users learning the TCL should update.
  386. This update fixes some bugs in the example programs for the TCL.
  387.  
  388.  
  389. scanf Update
  390. ------------
  391. %    All users who use the ANSI libraries and have not updated
  392.     already should update
  393. This update fixes bugs in scanf() and related functions in the
  394. ANSI library. This update is identical to the scanf() update of
  395. October 1989.
  396.  
  397. [Saved as: /mac/think-c/symantec/405-updater.hqx; 192K]
  398. 
  399. 
  400. Path: ucivax!gateway
  401. From: eyiskis@polyslo.calpoly.edu (Eric Yiskis)
  402. Subject: Re:  32 Bit QuickDraw header file for Think C
  403. Message-ID: <9105110048.AA11380@polyslo.CalPoly.EDU>
  404. Newsgroups: fa.think-c
  405. Lines: 6
  406. Date: 11 May 91 00:49:11 GMT
  407.  
  408. Great, now I have the header file!
  409.  
  410. But, what do these routines do?  Where do I find the documentation?...
  411.  
  412. Thanks,
  413. Eric.
  414. 
  415. 
  416. Path: ucivax!gateway
  417. From: jp48+@andrew.cmu.edu (Jonathan Pace)
  418. Subject: Please help me allocate memory
  419. Message-ID: <sc_syUS00WB9ECpENw@andrew.cmu.edu>
  420. Newsgroups: fa.think-c
  421. Lines: 18
  422. Date: 11 May 91 06:37:55 GMT
  423.  
  424.    I'm working with a pointer to several arrays of type long.  The pointer is
  425. used as a global.  I can't figure out when and where to declare the sizes of
  426. the various arrays.  I have a structure as follows
  427.  
  428.     instance {
  429.       long *x;
  430.       long *y;
  431.       long *id;
  432.     } ;
  433.  
  434. and I know I want to declare the size of the x, y, and id arrays to be MAX_SIZE
  435. which I declare as a macro.  Can someone please tell me how I should indicate
  436. to my program the size of these arrays.  I'm getting desperate.
  437.  
  438. Jon
  439.  
  440. p.s. - please speak in simple terms, I don't have much experience programming
  441. the Mac in Think C.
  442. 
  443. 
  444. Path: ucivax!gateway
  445. From: phils@chaos.cs.brandeis.edu (Phil Shapiro)
  446. Subject: 32 Bit QuickDraw header file for Think C
  447. Message-ID: <9105111552.AA13883@chaos.cs.brandeis.edu>
  448. In-Reply-To: Eric Yiskis's message of 11 May 91 00:49:11 GMT <9105110048.AA11380@polyslo.CalPoly.EDU>
  449. Newsgroups: fa.think-c
  450. Lines: 21
  451. Date: 11 May 91 15:52:33 GMT
  452.  
  453. Eric wrote:
  454.    Great, now I have the header file!
  455.  
  456.    But, what do these routines do?  Where do I find the documentation?
  457.  
  458. The 32 Bit QuickDraw routines are documented in a seperate document
  459. from Apple, that comes with the 32 Bit QuickDraw developer's kit,
  460. which you can get from APDA (unless they don't sell it anymore).
  461.  
  462. The 32 Bit QuickDraw routines are now in the System 7 software
  463. release, and the best reference for these routines is in Inside Mac
  464. VI.  For the most part, the routines in the 32 Bit QuickDraw package
  465. are in the Graphic Devices Manager chapter.
  466.  
  467.     -phil
  468. ----
  469.    Phil Shapiro                           Technical Support Analyst
  470.    Language Products Group                     Symantec Corporation
  471.         Internet: phils@chaos.cs.brandeis.edu
  472.  
  473.  
  474. 
  475. 
  476. Path: ucivax!gateway
  477. From: jim@fpr.com ("James E. O'Dell")
  478. Subject: 68881 Exception Vector
  479. Message-ID: <9105140110.AA11760@uu.psi.com>
  480. Newsgroups: fa.think-c
  481. Reply-To: "James E. O'Dell" <jim@fpr.com>
  482. Organization: Fort Pond Research
  483. Lines: 15
  484. Date: 14 May 91 01:12:46 GMT
  485.  
  486.  
  487. Does anyoen know how to set the 68881 (Floating point processor)
  488. exception vector from THINK C? I recently picked up some assembly
  489. code that does the trick but was hoping that I could write it in C
  490. so that 6 months from now I'll have some idea as to how it works.
  491.  
  492. I can successfully set the SANE halt vector when running in non-68881
  493. mode using SetHaltVector but the SAME routine SetTrapVector described
  494. in the Apple Numerics Manual doesn't seem to be implemented.
  495.  
  496. Thanks in advance,
  497. Jim O'Dell
  498. jim@fpr.com
  499.  
  500.  
  501. 
  502. 
  503. Path: ucivax!gateway
  504. From: kaye@grad1.cis.upenn.edu (Jonathan Kaye)
  505. Subject: Getting on mailing list
  506. Message-ID: <9105141443.AA13641@gradient.cis.upenn.edu>
  507. Posted-Date: Tue, 14 May 91 10:43:50 EDT
  508. Newsgroups: fa.think-c
  509. Lines: 12
  510. Date: 14 May 91 14:44:13 GMT
  511.  
  512.  
  513. Hi!
  514.  
  515. I'm a recent convert to Think C (well, if pressed, I really didn't
  516. convert from anything).  I was told that by writing to this address,
  517. I would receive the latest information about Think C.  Please put my
  518. name on the mailing list (Jonathan Kaye -
  519. kaye@gradient.cis.upenn.edu).
  520.  
  521. Thanks!
  522.  
  523. Jonathan
  524. 
  525. 
  526. Newsgroups: fa.think-c
  527. Path: ucivax!orion.oac.uci.edu!eabu111
  528. From: eabu111@orion.oac.uci.edu (Steven Luh)
  529. Subject: Mailing List
  530. Message-ID: <283034C3.6745@orion.oac.uci.edu>
  531. Organization: University of California, Irvine
  532. Date: Tue, 14 May 1991 19:04:34 GMT
  533. Lines: 5
  534.  
  535. I'm also interesting in getting on the mailing list.  Can some post of e-mail
  536. me with the details?
  537.  
  538. Steve
  539.  
  540. 
  541. 
  542. Path: ucivax!gateway
  543. From: jbr@cblph.att.com
  544. Subject: Problem With CEditText Class
  545. Message-ID: <9105141603.aa01388@ics.uci.edu>
  546. Newsgroups: fa.think-c
  547. Original-From: cblph!jbr (j.a.brownlee)
  548. Lines: 31
  549. Date: 14 May 91 23:04:03 GMT
  550.  
  551. I am having yet another problem with the TCL, no doubt due once again to my
  552. lack of understanding.  My configuration is a IIcx, TC 4.0.2, and System 6.0.3.
  553.  
  554. I have a window in which I am creating several control objects, such as
  555. buttons, static text, scroll bars, etc.  They all seem to work fine.  However,
  556. when I try to create a CEditText object, I have problems.  I am trying to do
  557. something similar to the Edit Text boxes in a standard dialog.
  558.  
  559. When the object is created, the text I have initially placed in the box is
  560. displayed correctly at the expected location.  If I click in the object's pane,
  561. an I-beam cursor is displayed at the correct location.  I can also drag over
  562. all or part of the text and it is highlighted correctly.  However, any keys I
  563. type (including Backspace) have no apparent effect, nor does the cursor blink
  564. as described in the manual.  When I dispose of the object, my machine locks up.
  565. Using the exact same sequence of calls on a CStaticText object works fine,
  566. including the Dispose().
  567.  
  568. The manual mentions that one must take care to have the object's Supervisor
  569. handle its commands.  I am checking for that, but I am not getting any commands
  570. from the object (the supervisor is the related CDocument).  The manual also
  571. says that the default methods handle typing, blinking the cursor, etc., but
  572. those things don't work for me.  I tried invoking the Activate() method on the
  573. object, but that had no effect.
  574.  
  575. Obviously, I am doing something wrong somewhere.  Does anyone have any ideas
  576. as to what?  Thanks in advance for any pointers (uh, Handles?) or advice.
  577.  
  578.    ^      _   Joe Brownlee, Analysts International Corporation @ AT&T Bell Labs
  579.   /_\  @ / `  471 E Broad St, Suite 1610, Columbus, Ohio 43215   (614) 860-7461
  580.  /   \ | \_,  E-mail: jbr@cblph.att.com     Who pays attention to what _I_ say?
  581.  "Scotty, we need warp drive in 3 minutes or we're all dead!" --- James T. Kirk
  582. 
  583. 
  584. Path: ucivax!gateway
  585. From: jim@fpr.com ("James E. O'Dell")
  586. Subject: Bug in math.c
  587. Message-ID: <9105151203.AA19788@uu.psi.com>
  588. Newsgroups: fa.think-c
  589. Reply-To: "James E. O'Dell" <jim@fpr.com>
  590. Organization: Fort Pond Research
  591. Lines: 22
  592. Date: 15 May 91 12:06:12 GMT
  593.  
  594.  
  595. In the ANSI file math.c there is a macro called RangeCheck
  596. which I think is used inappropriately in the exp function. The
  597. result is that exp(-100000000.0) is INF and not 0.0.
  598.  
  599. RangeCheck checks all of the FP exception flags and
  600. if any are set it sets the result to INF. The problem is
  601. that, at least for exp, if there is a floating point underflow
  602. the result of the calculation should be zero.
  603.  
  604. Another thing that I've noticed about the math.c file is that the routines
  605. in it always manage to call the FPROCENTRY routine but never call
  606. the corresponding FPROCEXIT routine. Has anyone else noticed this?
  607.  
  608. Does anyone out there have a comlete compilation of
  609. the known math errors in ANSI library? Rich?
  610.  
  611. Thanks,
  612. Jim O'Dell
  613. jim@fpr.com
  614.  
  615.  
  616. 
  617. 
  618. Path: ucivax!gateway
  619. From: well!crunch@apple.com (John Draper)
  620. Subject: Getting update to Think C for Sys 7.0
  621. Message-ID: <9105182251.AA15583@well.sf.ca.us>
  622. Newsgroups: fa.think-c
  623. Lines: 23
  624. Date: 18 May 91 23:14:18 GMT
  625.  
  626. What is the procedure for getting an update to Think C that
  627. allows one to use it with System 7.0.
  628.  
  629. I don't know if this is the right forum to ask this,  but I'll
  630. ask anyway,   buit is it possible for me to have one hard drive
  631. with Sys 6.0.4,  and another one with Sys 7.0,  and not have
  632. to re-build the desktop of the sys 6.0.4 each time I want to
  633. have both drives on-line for copying files and such.
  634.  
  635. As it stands now,  everytime I start a sys 7.0 as startup,
  636. and when the sys 6 comes on line,   it NUKES my desktop file
  637. each time.
  638.  
  639. It would seem to me that Apple would provide an easier,
  640. less hassle way of switching so it makes it easier to transfer
  641. to sys 7.0  by perhaps changing the sys 7.0 desktop file to
  642. a different name.
  643.  
  644. Unfortunately,  while at the developers conf last week,  nobody
  645. at Apple knew how to do it easier.
  646.  
  647. John D.
  648.  
  649. 
  650. 
  651. Path: ucivax!gateway
  652. From: jfk@eniac.seas.upenn.edu ("James F. Kennedy")
  653. Subject: Question about 4.0.5 and 4.0.4....
  654. Message-ID: <9105191438.AA08472@ignatz.seas.upenn.edu>
  655. X-Mailer: ELM [version 2.3 PL0]
  656. Posted-Date: Sun, 19 May 91 10:38:28 EDT
  657. Newsgroups: fa.think-c
  658. Lines: 17
  659. Date: 19 May 91 14:39:00 GMT
  660.  
  661. Hello all,
  662.  
  663.   Quick question.  I just noticed that the updater for Think C to version
  664. 4.0.5 has been posted.  Does this update supercede the 4.0.4 update contained
  665. on the System 7 Beta 4 dist?  It seems to me that 4.0.4 install some
  666. new libraries while 4.0.5 doesn't (ie, 4.0.4 was supposedly more MPW
  667. interface compatible)...which is right?  Any help would be appreciated.
  668.  
  669. Also, when will the new version of Think C (that is 100% compatible with
  670. system 7.0) be released?
  671.  
  672.                         James
  673.  
  674. --
  675. James F. Kennedy            Unversity of Pennsylvania
  676. (215)387-3624                jfk@seas.upenn.edu
  677. "Wowzers!"                ST0809@applelink.apple.com
  678. 
  679. 
  680. Path: ucivax!gateway
  681. From: wnn@ornl.gov (Wolfgang Naegeli)
  682. Subject: Re: Getting update to Think
  683. Message-ID: <9105200621.aa16154@ics.uci.edu>
  684. Newsgroups: fa.think-c
  685. Lines: 23
  686. Date: 20 May 91 13:22:01 GMT
  687.  
  688.         Reply to:   RE>Getting update to Think C f
  689. John Draper asks:
  690. >  is it possible for me to have one hard drive
  691. >  with Sys 6.0.4,  and another one with Sys 7.0,  and not have
  692. >  to re-build the desktop of the sys 6.0.4 each time I want to
  693. >  have both drives on-line for copying files and such.
  694.  
  695. >  As it stands now,  everytime I start a sys 7.0 as startup,
  696. >  and when the sys 6 comes on line,   it NUKES my desktop file
  697. >  each time.
  698.  
  699. Install the Desktop Mgr INIT from the AppleShare package on your 6.0.4 drive.
  700. That should solve your problem. It does for me with 6.0.7 and 7.0,
  701. I have not tested such a setup with 6.0.4, but I see now reason why it
  702. should behave differently.
  703.  
  704. Wolfgang N. Naegeli
  705. University of Tennessee & Oak Ridge National Laboratory
  706. Internet: wnn@ornl.gov    Bitnet: wnn@ornlstc
  707. Phone: 615-574-6143       Fax: 615-574-6141 (OrchidFax)
  708. QuickMail (QM-QM): Wolfgang Naegeli @ 615-574-4510
  709.  
  710.  
  711. 
  712. 
  713. Path: ucivax!gateway
  714. From: phils@chaos.cs.brandeis.edu (Phil Shapiro)
  715. Subject: Question about 4.0.5 and 4.0.4....
  716. Message-ID: <9105201353.AA02410@chaos.cs.brandeis.edu>
  717. In-Reply-To: "James F. Kennedy"'s message of 19 May 91 14:39:00 GMT <9105191438.AA08472@ignatz.seas.upenn.edu>
  718. Newsgroups: fa.think-c
  719. Lines: 28
  720. Date: 20 May 91 13:54:05 GMT
  721.  
  722. From "James F. Kennedy" <jfk@eniac.seas.upenn.edu>:
  723.    Quick question.  I just noticed that the updater for Think C to
  724.    version 4.0.5 has been posted.  Does this update supercede the
  725.    4.0.4 update contained on the System 7 Beta 4 dist?  It seems to me
  726.    that 4.0.4 install some new libraries while 4.0.5 doesn't (ie,
  727.    4.0.4 was supposedly more MPW interface compatible)...which is
  728.    right?  Any help would be appreciated.
  729.  
  730. The 4.0.5 update does supercede the 4.0.4 update.  The main difference
  731. is that the 4.0.5 update contains a patch to the "Precompile" command,
  732. which allows users to generate precompiled headers that don't contain
  733. type information for pointer parameters (it converts them to "void
  734. *").  For more info, see the ReadMe file for the 4.0.5 Think C patch.
  735.  
  736. An updated version of the System 7 headers for v4.0.5 of Think C can
  737. be found on Apple's System 7 Final CD-ROM.  These headers are, for the
  738. most part, compatible with the MPW C headers.
  739.  
  740.    Also, when will the new version of Think C (that is 100% compatible
  741.    with system 7.0) be released?
  742.  
  743. No release date has been announced yet.
  744.  
  745.     -phil
  746. ----
  747.    Phil Shapiro                           Technical Support Analyst
  748.    Language Products Group                     Symantec Corporation
  749.         Internet: phils@chaos.cs.brandeis.edu
  750. 
  751. 
  752. Path: ucivax!gateway
  753. From: mcmac@hubcap.clemson.edu (Scott McAlister)
  754. Subject: 4.0.5 Debugger crashes under 7.0
  755. Message-ID: <9105201553.AA07614@hubcap.clemson.edu>
  756. X-Mailer: Elm [version 2.1 PL1]
  757. Newsgroups: fa.think-c
  758. Lines: 15
  759. Date: 20 May 91 15:54:23 GMT
  760.  
  761. I am trying to use the 4.0.5 debugger under sys 7.0 and it locks up my
  762. IIsi when I "Run" my program. In the status panel of the source window
  763. the message "illegal instruction" appears for a second and the entire
  764. mac locks up after that.  Any ideas?
  765.  
  766.  
  767. -- Scott
  768.  
  769. ==================================================
  770. | Scott McAlister     | mcmac@hubcap.clemson.edu |
  771. | CS Senior           |                          |
  772. | Clemson University  |                          |
  773. | Home address:  390 Boggs Rd.                   |
  774. |                Pickens, SC  29671              |
  775. ==================================================
  776. 
  777. 
  778. Path: ucivax!gateway
  779. From: mcmac@hubcap.clemson.edu (Scott McAlister)
  780. Subject: How to lock a folder??
  781. Message-ID: <9105201856.AA16016@hubcap.clemson.edu>
  782. X-Mailer: Elm [version 2.1 PL1]
  783. Newsgroups: fa.think-c
  784. Lines: 20
  785. Date: 20 May 91 18:57:39 GMT
  786.  
  787.  
  788.  
  789. I am trying to write a small utility program for our mac labs here at
  790. Clemson.  One thing that I would like to do is to be able to write-protect
  791. a folder so that the students can't hide folders within our folders
  792. containing our registered software.  Hopefully, using this technique
  793. we won't have to search every folder in order to delete the unregistered
  794. software.
  795.  
  796. Thanks,
  797.  
  798. -- Scott
  799.  
  800. ==================================================
  801. | Scott McAlister     | mcmac@hubcap.clemson.edu |
  802. | CS Senior           |                          |
  803. | Clemson University  |                          |
  804. | Home address:  390 Boggs Rd.                   |
  805. |                Pickens, SC  29671              |
  806. ==================================================
  807. 
  808. 
  809. Path: ucivax!gateway
  810. From: mcmac@hubcap.clemson.edu (Scott McAlister)
  811. Subject: Want "Loser" source from Zmac on CompuServe
  812. Message-ID: <9105201900.AA16295@hubcap.clemson.edu>
  813. X-Mailer: Elm [version 2.1 PL1]
  814. Newsgroups: fa.think-c
  815. Lines: 14
  816. Date: 20 May 91 19:01:42 GMT
  817.  
  818. If anybody has downloaded the "Loser" application source code from
  819. ZMAC, could you forward it to me.  This application was mentioned
  820. in the "Power Programming" article of the Sept. '90 MacUser.
  821.  
  822.  
  823. -- Scott
  824.  
  825. ==================================================
  826. | Scott McAlister     | mcmac@hubcap.clemson.edu |
  827. | CS Senior           |                          |
  828. | Clemson University  |                          |
  829. | Home address:  390 Boggs Rd.                   |
  830. |                Pickens, SC  29671              |
  831. ==================================================
  832. 
  833. 
  834. Path: ucivax!gateway
  835. From: lister@leland.stanford.edu (Dan Karp)
  836. Subject: TCL: Menus on the fly
  837. Message-ID: <9105201940.AA17444@leland.Stanford.EDU>
  838. X-Mailer: ELM [version 2.3 PL11]
  839. Newsgroups: fa.think-c
  840. Lines: 39
  841. Date: 20 May 91 19:41:07 GMT
  842.  
  843.  
  844. A small TCL question:
  845.  
  846.     In order to build a menu on the fly, I think I need to make
  847.       lots of calls to InsertMenuCmd.  This takes as parameters
  848.       a command number, a string, a menu id number, and a position
  849.       at which the string should be entered into the menu.
  850.  
  851.     From p. 243 of the THINK C User's Manual,
  852.  
  853.         "When you build a menu on the fly like this,
  854.         the bartender does not associate a command
  855.         number with the menu items.  In this case,
  856.         the bartender's FindCmdNumber() returns the
  857.         negative of the menu ID in the high word and
  858.         the item ID in the low word."
  859.  
  860.     That above quote was referring to the resource-based menus (like
  861.       the Font menu) added with AddResMenu, so it may not be applicable.
  862.  
  863.     Still, I'd like it so that it returns the negative-of-high-byte-plus-
  864.       low-byte-combo for my built-on-the-fly menu, as well.  But in
  865.       order to insert the commands into the menu, I have to give them
  866.       command numbers (as cmdNo is a parameter for InsertMenuCmd).
  867.  
  868.     So do I have to maintain a group of unique command numbers to
  869.       associate with my built-on-the-fly menu items?  I realize that
  870.       it can't be anything as simple as passing -1L as the command
  871.       number to InsertMenuCmd, as the only tool for removing a command
  872.       from a menu depends only of the command number of the entry to be
  873.       removed.
  874.  
  875. Please help.
  876.  
  877.  
  878. Thanks,
  879.  
  880. Dan
  881.  
  882. 
  883. 
  884. Path: ucivax!gateway
  885. From: LIB_MALAM@vaxc.stevens-tech.edu (Mehboob Alam - Macintosh Specialist)
  886. Subject: folder protection etc.
  887. Message-ID: <5978B46960203860@VAXC.STEVENS-TECH.EDU>
  888. X-VMS-Cc: LIB_MALAM
  889. Newsgroups: fa.think-c
  890. X-VMS-To: IN%"think-c@ics.uci.edu"
  891. Lines: 15
  892. Date: 20 May 91 22:33:44 GMT
  893.  
  894.  
  895. Scott,
  896.  
  897. There are a number of ways to protect a Macintosh in a student lab
  898. environment. But 'write-protecting' a folder is not very easy to with
  899. simple programming. You will need some commercial software to
  900. accomplish that.
  901.  
  902. Anyways, most of the methods I developed over the years to keep the
  903. Macs safe and happy; well, all of them fail under System 7.0. Mail me
  904. if you want some details.
  905.  
  906. Mehboob Alam
  907. MD_MALAM@STEVENS
  908. MD_MALAM@SITVAX.STEVENS-TECH.EDU
  909. 
  910. 
  911. Path: ucivax!gateway
  912. From: bjb@pdaeng.uucp (Bruce Beare)
  913. Subject: Has anyone modifed TCL for the required apple-events?
  914. Message-ID: <9105201708.AA20522@pyrps5.pyramid.com>
  915. X-Mailer: ELM [version 2.3 PL11]
  916. Newsgroups: fa.think-c
  917. Lines: 10
  918. Date: 21 May 91 06:19:55 GMT
  919.  
  920. I'm in the throws of updating a TCL application for 7.0. I've been
  921. diligently studying the AppleEvents and Publish/Subscribe documentation.
  922.  
  923. Before running off and coding this up -- I'd thought I'd check whether anyone
  924. has already worked support for this stuff into TCL? If so, are you
  925. willing to make it public??
  926.  
  927. Bruce
  928. bjb@pyramid.com
  929.  
  930. 
  931. 
  932. Path: ucivax!gateway
  933. From: jk4i+@andrew.cmu.edu ("John McCall Kingsley, III")
  934. Subject: termination
  935. Message-ID: <kcCbqke00UhB81IGdV@andrew.cmu.edu>
  936. Newsgroups: fa.think-c
  937. Lines: 5
  938. Date: 22 May 91 14:20:21 GMT
  939.  
  940. please remove me from the mailing list as soon as possible.
  941.  
  942. Jack Kingsley
  943.  
  944.  
  945. 
  946. 
  947. Path: ucivax!gateway
  948. From: iron@imag.fr (Francois Menneteau)
  949. Subject: What is the procedure to belong to the think-c mailing list ?
  950. Message-ID: <9105241415.AA03467@imag.imag.fr>
  951. Newsgroups: fa.think-c
  952. Lines: 7
  953. Date: 24 May 91 13:50:30 GMT
  954. X-Organization: IMAG Institute, University of Grenoble
  955.  
  956. I purchased Think-c 4 in France.
  957.  
  958. --
  959. Francois Menneteau ()   __|||||__   () "... I had their lives in my hands
  960. ================== ()    /O   O\    () their fate their fortune in my visions
  961. iron@imag.fr       ()    - .|. -    () No one believed in my true prophecy
  962. ================== ()     \=^=/     () And now it's too late."  (Iron Maiden)
  963. 
  964. 
  965. Path: ucivax!gateway
  966. From: hanche@imf.unit.no (Harald Hanche-Olsen)
  967. Subject: What is the procedure to belong to the think-c mailing list ?
  968. Message-ID: <9856.9105241521@hufsa.imf.unit.no>
  969. In-Reply-To: Francois Menneteau's message of 24 May 91 13:50:30 GMT <9105241415.AA03467@imag.imag.fr>
  970. Newsgroups: fa.think-c
  971. Lines: 9
  972. Date: 24 May 91 15:23:18 GMT
  973.  
  974. Write to think-c-request@ics.uci.edu
  975.  
  976. The same procedure applies to most mailing lists:  Append -request to
  977. the list name.
  978.  
  979. - Harald Hanche-Olsen <hanche@imf.unit.no>
  980.   Division of Mathematical Sciences
  981.   The Norwegian Institute of Technology
  982.   N-7034 Trondheim, NORWAY
  983. 
  984. 
  985. Path: ucivax!gateway
  986. From: iron@imag.fr (Francois Menneteau)
  987. Subject: Re: What is the procedure to belong to the think-c mailing list ?
  988. Message-ID: <9105241621.AA08243@imag.imag.fr>
  989. In-Reply-To: Harald Hanche-Olsen <hanche@imf.unit.no>
  990.        "What is the procedure to belong to the think-c mailing list ?" (May 24, 17:21)
  991. Newsgroups: fa.think-c
  992. Lines: 18
  993. Date: 24 May 91 15:57:25 GMT
  994. X-Organization: IMAG Institute, University of Grenoble
  995.  
  996. Dans votre courrier du 24 May vous ecrivez :
  997. >Write to think-c-request@ics.uci.edu
  998. >
  999. >The same procedure applies to most mailing lists:  Append -request to
  1000. >the list name.
  1001. >
  1002. >- Harald Hanche-Olsen <hanche@imf.unit.no>
  1003. >  Division of Mathematical Sciences
  1004. >  The Norwegian Institute of Technology
  1005. >  N-7034 Trondheim, NORWAY
  1006.  
  1007. Thanks.
  1008.  
  1009. --
  1010. Francois Menneteau ()   __|||||__   () "... I had their lives in my hands
  1011. ================== ()    /O   O\    () their fate their fortune in my visions
  1012. iron@imag.fr       ()    - .|. -    () No one believed in my true prophecy
  1013. ================== ()     \=^=/     () And now it's too late."  (Iron Maiden)
  1014. 
  1015. 
  1016. Path: ucivax!gateway
  1017. From: rsfinn@neutron.lcs.mit.edu ("Russell S. Finn")
  1018. Subject: TMON Pro and THINK C
  1019. Message-ID: <9105251515.AA10485@neutron.LCS.MIT.EDU>
  1020. Newsgroups: fa.think-c
  1021. Lines: 13
  1022. Date: 25 May 91 21:25:52 GMT
  1023.  
  1024. Has anyone else had any luck getting the new version of TMON Pro to
  1025. work under THINK C the way the old version did?  The command-M key in
  1026. the THINK C Debugger to drop into the monitor doesn't seem to work,
  1027. and in fact seems to cause great confusion to the system, ultimately
  1028. requiring a reboot.  (Using a Debugger() trap in the program, and
  1029. turning off THINK's debugger, seems to work OK, though.)
  1030.  
  1031. Other than that, I like TMON Pro so far (except that it's a tremendous
  1032. memory hog: upwards of 750K in any reasonable configuration).  Looks
  1033. like you could get it to make coffee for you...
  1034.  
  1035. -- Russell S. Finn
  1036. rsfinn@lcs.mit.edu
  1037. 
  1038. 
  1039. Path: ucivax!gateway
  1040. From: bradk@wimsey.bc.ca (Brad Kollmyer)
  1041. Subject: Re: TMON Pro and THINK C
  1042. Message-ID: <m0jhXFt-0000RPC@wimsey.bc.ca>
  1043. In-Reply-To: <9105251515.AA10485@neutron.LCS.MIT.EDU>; from "Russell S. Finn" at May 25, 91 9:25 pm
  1044. X-Mailer: ELM [version 2.3 PL11]
  1045. Newsgroups: fa.think-c
  1046. Lines: 12
  1047. Date: 27 May 91 02:21:43 GMT
  1048.  
  1049. > Has anyone else had any luck getting the new version of TMON Pro to
  1050. > work under THINK C the way the old version did?  The command-M key in
  1051. > the THINK C Debugger to drop into the monitor doesn't seem to work,
  1052. > and in fact seems to cause great confusion to the system, ultimately
  1053. > requiring a reboot.  (Using a Debugger() trap in the program, and
  1054. > turning off THINK's debugger, seems to work OK, though.)
  1055.  
  1056. Try having a assembley window set to (pc-4). This will be the current
  1057. instruction the program is at.
  1058.  
  1059. Brad Kollmyer
  1060. bradk@wimsey.bc.ca
  1061. 
  1062. 
  1063. Path: ucivax!gateway
  1064. From: rsfinn@neutron.lcs.mit.edu ("Russell S. Finn")
  1065. Subject: Re: TMON Pro and THINK C
  1066. Message-ID: <9105271711.AA12775@neutron.LCS.MIT.EDU>
  1067. In-Reply-To: Your message of Sun, 26 May 91 19:24:20 -0700.
  1068.              <m0jhXFt-0000RPC@wimsey.bc.ca>
  1069. Newsgroups: fa.think-c
  1070. Lines: 27
  1071. Date: 27 May 91 17:11:45 GMT
  1072.  
  1073. > Try having a assembley window set to (pc-4). This will be the current
  1074. > instruction the program is at.
  1075.  
  1076. Thanks for your response; unfortunately, I don't think you read my
  1077. message very closely.  Let me restate the problem:
  1078.  
  1079. I'm experiencing problems with the newest version of TMON, called TMON
  1080. Professional (or TMON 3.0); I can't use the Monitor (command-M)
  1081. command in the THINK C Debugger to enter the low-level debugger, as
  1082. with previous versions of TMON.  When I hit command-M, TMON is not
  1083. entered; in fact, nothing appears to happen immediately.  However,
  1084. subsequently I have problems entering TMON directly (using the
  1085. Programmer's Key INIT), and I usually end up having to reboot.
  1086.  
  1087. (Although this is beside the point, the suggestion won't work
  1088. correctly under TMON 3.0; the new syntax for anchoring a window to
  1089. that location would be <option-J>PC-4, where option-J produces the
  1090. capital Delta symbol.)
  1091.  
  1092. I imagine that the rumored THINK C 5.0 will address this issue; in the
  1093. meantime, has anyone figured out another workaround (besides using
  1094. _Debugger traps in the program under development, and turning off the
  1095. THINK C Debugger)?
  1096.  
  1097. -- Russell S. Finn
  1098. rsfinn@lcs.mit.edu
  1099.  
  1100. 
  1101. 
  1102. Path: ucivax!gateway
  1103. From: phils@chaos.cs.brandeis.edu (Phil Shapiro)
  1104. Subject: TMON Pro and THINK C
  1105. Message-ID: <9105280037.AA24817@chaos.cs.brandeis.edu>
  1106. In-Reply-To: "Russell S. Finn"'s message of 27 May 91 17:11:45 GMT <9105271711.AA12775@neutron.LCS.MIT.EDU>
  1107. Newsgroups: fa.think-c
  1108. Lines: 29
  1109. Date: 28 May 91 00:37:31 GMT
  1110.  
  1111.    From: "Russell S. Finn" <rsfinn@neutron.lcs.mit.edu>
  1112.  
  1113.    I'm experiencing problems with the newest version of TMON, called
  1114.    TMON Professional (or TMON 3.0); I can't use the Monitor
  1115.    (command-M) command in the THINK C Debugger to enter the low-level
  1116.    debugger, as with previous versions of TMON.  When I hit command-M,
  1117.    TMON is not entered; in fact, nothing appears to happen
  1118.    immediately.  However, subsequently I have problems entering TMON
  1119.    directly (using the Programmer's Key INIT), and I usually end up
  1120.    having to reboot.
  1121.  
  1122. I can't tell you of any workaround, but I can tell you why you're
  1123. having this problem with Think C and TMON Pro.
  1124.  
  1125. When you use Command-M (Monitor) from Think C, it checks to see what
  1126. kind of debugger you have installed.  If you have TMON installed, it
  1127. will place your application's PC into TMON's V register, and the value
  1128. of the selection in the data window, if any, into TMON's N register.
  1129.  
  1130. Think C v4.0 can't tell the difference between old TMON and TMON Pro,
  1131. and TMON Pro stores these registers at a different location than TMON
  1132. did.  Thus, using the Monitor command causes TMON Pro to become
  1133. trashed, since Think C writes to the contents of TMON.
  1134.  
  1135.     -phil
  1136. ----
  1137.    Phil Shapiro                           Technical Support Analyst
  1138.    Language Products Group                     Symantec Corporation
  1139.         Internet: phils@chaos.cs.brandeis.edu
  1140. 
  1141. 
  1142. Path: ucivax!gateway
  1143. From: rsfinn@neutron.lcs.mit.edu ("Russell S. Finn")
  1144. Subject: Re: TMON Pro and THINK C
  1145. Message-ID: <9105280525.AA13485@neutron.LCS.MIT.EDU>
  1146. In-Reply-To: Your message of Mon, 27 May 91 20:37:09 -0400.
  1147.              <9105280037.AA24817@chaos.cs.brandeis.edu>
  1148. Newsgroups: fa.think-c
  1149. Lines: 17
  1150. Date: 28 May 91 05:26:09 GMT
  1151.  
  1152. > Think C v4.0 can't tell the difference between old TMON and TMON Pro,
  1153. > and TMON Pro stores these registers at a different location than TMON
  1154. > did.  Thus, using the Monitor command causes TMON Pro to become
  1155. > trashed, since Think C writes to the contents of TMON.
  1156.  
  1157. So basically I'm hosed until the semi-mythical THINK C 5.0 becomes a
  1158. reality, eh?  I kind of figured that.  (Looking for beta testers?)
  1159.  
  1160. I suppose it would be really cool if 5.0 used the "monitor action
  1161. verbs" to communicate directly with TMON Pro (for lurkers, TMON
  1162. registers itself with Gestalt, and informed programs can use Gestalt
  1163. to get a procedure pointer through which it can call TMON directly to
  1164. get it to do things), wouldn't it?
  1165.  
  1166. Thanks for your help.
  1167.  
  1168. -- Russ
  1169. 
  1170. 
  1171. Path: ucivax!gateway
  1172. From: iron@imag.fr (Francois Menneteau)
  1173. Subject: Freqently asked questions
  1174. Message-ID: <9105291030.AA06021@imag.imag.fr>
  1175. Newsgroups: fa.think-c
  1176. Lines: 22
  1177. Date: 29 May 91 10:29:36 GMT
  1178. X-Organization: IMAG Institute, University of Grenoble
  1179.  
  1180. As I am new in this mailing list, I don't want to query for responses that
  1181. have been already discussed in the past.
  1182.  
  1183. However, I don't know how to get the list of topics alrealdy treated (there
  1184. is not in the mac/think-c/archives directory a list of these subjets, and I
  1185. don't want to download all the files [until I have no other choices]).
  1186.  
  1187. open bracket
  1188. So if the subject is new, the question is :
  1189. How to get info about the think-c classes that are not described in the
  1190. manual (BitMap stuff, etc) ?
  1191. If it is not, in which archive I can found the answer ?
  1192. close bracket.
  1193.  
  1194. Thanks a lot.
  1195.  
  1196.  
  1197. --
  1198. Francois Menneteau ()   __|||||__   () "... I had their lives in my hands
  1199. ================== ()    /O   O\    () their fate their fortune in my visions
  1200. iron@imag.fr       ()    - .|. -    () No one believed in my true prophecy
  1201. ================== ()     \=^=/     () And now it's too late."  (Iron Maiden)
  1202. 
  1203. 
  1204. Path: ucivax!gateway
  1205. From: STEFAN_S@gemini.ldc.lu.se (Stefan Strand)
  1206. Subject: SFPGetFile
  1207. Message-ID: <6A77B67B521F003D48@gemini.ldc.lu.se>
  1208. Newsgroups: fa.think-c
  1209. X-Vms-To: IN%"think-c@ics.uci.edu"
  1210. Lines: 33
  1211. Date: 29 May 91 19:58:46 GMT
  1212.  
  1213. Hi!
  1214. We are having a small problem with the following code:
  1215.     FlushEvents(everyEvent, 0);
  1216.     SFPGetFile(corner, NULL, NULL, -1, NULL,
  1217.                 SFGetHook2, &macSFReply, DLOGgetFile, NULL);
  1218.         FlushEvents(everyEvent, 0);
  1219.         SFPGetFile(corner, NULL, NULL, -1, NULL,
  1220.                                 SFGetHook2, &macSFReply, DLOGgetFile, NULL);
  1221.  
  1222. pascal short SFGetHook2(short MySFItem, DialogPtr theDialog)
  1223. {
  1224.     switch (MySFItem) {
  1225.         case firstTime:
  1226.             return reDrawList;
  1227.  
  1228.         case idleItem:
  1229.             while (Button())
  1230.                 SysBeep(20);
  1231.     }
  1232.     return MySFItem;
  1233. };
  1234.  
  1235. The first time that we call SFPGetFile everything works correctly, but the
  1236. The first time that we call SFPGetFile everything works correctly, but the
  1237. second call doesn't seem to send any idleItem to the SFGetHook2 function!
  1238.  
  1239. Would appreciate any suggestions and solutions to this little problem.
  1240. We are running System 6.0.5 on a Mac IIfx with no INIT or CDEVs, Think C version
  1241. 4.0.5, and Multifinder.
  1242.  
  1243. Many thanks, Stefan Strand, Lund Institute of Technology, Sweden
  1244. Email: e85ss@efd.lth.se
  1245.        stefan_s@gemini.ldc.lu.se
  1246. 
  1247.